import requests


headers = {
    "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "priority": "u=0, i",
    "referer": "https://www.mafengwo.cn/",
    "sec-ch-ua": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "document",
    "sec-fetch-mode": "navigate",
    "sec-fetch-site": "same-origin",
    "sec-fetch-user": "?1",
    "upgrade-insecure-requests": "1",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
}
cookies = {
    "PHPSESSID": "2hubllqtjbs0q8i71i4nd0j036",
    "mfw_uuid": "67446986-a380-6261-ed9b-39567c81c44a",
    "oad_n": "a%3A3%3A%7Bs%3A3%3A%22oid%22%3Bi%3A1029%3Bs%3A2%3A%22dm%22%3Bs%3A15%3A%22www.mafengwo.cn%22%3Bs%3A2%3A%22ft%22%3Bs%3A19%3A%222024-11-25+20%3A11%3A50%22%3B%7D",
    "__mfwc": "direct",
    "uva": "s%3A92%3A%22a%3A3%3A%7Bs%3A2%3A%22lt%22%3Bi%3A1732536713%3Bs%3A10%3A%22last_refer%22%3Bs%3A24%3A%22https%3A%2F%2Fwww.mafengwo.cn%2F%22%3Bs%3A5%3A%22rhost%22%3BN%3B%7D%22%3B",
    "__mfwurd": "a%3A3%3A%7Bs%3A6%3A%22f_time%22%3Bi%3A1732536713%3Bs%3A9%3A%22f_rdomain%22%3Bs%3A15%3A%22www.mafengwo.cn%22%3Bs%3A6%3A%22f_host%22%3Bs%3A3%3A%22www%22%3B%7D",
    "__mfwuuid": "67446986-a380-6261-ed9b-39567c81c44a",
    "Hm_lvt_8288b2ed37e5bc9b4c9f7008798d2de0": "1732536722",
    "HMACCOUNT": "CCBDA8F22B52E93D",
    "bottom_ad_status": "0",
    "__mfwa": "1732536718577.69549.4.1732605705309.1732621674832",
    "__mfwlv": "1732621674",
    "__mfwvn": "4",
    "Hm_lpvt_8288b2ed37e5bc9b4c9f7008798d2de0": "1732623116",
    "__mfwb": "3cff660e1e20.6.direct",
    "__mfwlt": "1732623116",
    "w_tsfp": "ltvuV0MF2utBvS0Q6qjvlkisED4mfTk4h0wpEaR0f5thQLErU5mG04B4vcnxNn3a4cxnvd7DsZoyJTLYCJI3dwMcQ8uWIoxA2F+XkIMg24sWAhUxRc3eUVQccu12vjJCKnhCNxS00jA8eIUd379yilkMsyN1zap3TO14fstJ019E6KDQmI5uDW3HlFWQRzaLbjcMcuqPr6g18L5a5Wra4Fn+Lg0lVulKg0bD13sXBykmtRO6ce9UNxr7cMiuSqA="
}
url = "https://www.mafengwo.cn/mdd/"
response = requests.get(url, headers=headers, cookies=cookies)

print(response.text)
print(response)